package com.oa.co.service;

import com.github.pagehelper.PageInfo;
import com.oa.co.pojo.LeaveInformation;
import com.oa.co.vo.DepartmentBarVo;
import com.oa.co.vo.DepartmentPieVo;
import com.oa.co.vo.LeaveInformationVo;

import java.util.List;

/**
 * @author zhao chen qi
 * @date 2023/5/8 17:28
 */
public interface LeaveInformationAdminService {




    PageInfo<LeaveInformation> selectStaffLeaveRequestList(String applicant, String subordinate_department, Integer pageNum, Integer limit);

    List<DepartmentBarVo> getBarData();

    List<DepartmentPieVo> getPieData();

    int editStaff(LeaveInformation leaveInformation);

    int addLeaveInformationData(LeaveInformation leaveInformation);


    int deleteStaff(Integer id);

    PageInfo<LeaveInformationVo> selectStaffLeaveRequestList2(String applicant, String subordinate_department, Integer pageNum, Integer limit);
}
